package com.xinnet.mms.utils;

import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.authc.credential.HashedCredentialsMatcher;

public class PasswordEncrypt extends HashedCredentialsMatcher{

	public PasswordEncrypt(String encryptType){
		super(encryptType);
	}
	public Object  encrypt(AuthenticationToken token, AuthenticationInfo info){
		Object tokenHashedCredentials = super.hashProvidedCredentials(token, info);
		return tokenHashedCredentials;
		
	}
}
